package com.ruoyi.zhhq.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公告对象 zhhq_notice
 * 
 * @author Anthony Lu
 * @date 2022-10-27
 */
public class Notice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公告编号 */
    private String noticeId;

    /** 公告标题 */
    @Excel(name = "公告标题")
    private String noticeTitle;

    /** 公告内容 */
    @Excel(name = "公告内容")
    private String noticeContent;

    /** 公告发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "公告发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date noticeTime;

    /** 用户id */
    @Excel(name = "用户id")
    private String uid;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;
    
    public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	private User user;

    public void setNoticeId(String noticeId) 
    {
        this.noticeId = noticeId;
    }

    public String getNoticeId() 
    {
        return noticeId;
    }
    public void setNoticeTitle(String noticeTitle) 
    {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeTitle() 
    {
        return noticeTitle;
    }
    public void setNoticeContent(String noticeContent) 
    {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent() 
    {
        return noticeContent;
    }
    public void setNoticeTime(Date noticeTime) 
    {
        this.noticeTime = noticeTime;
    }

    public Date getNoticeTime() 
    {
        return noticeTime;
    }
    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

	@Override
	public String toString() {
		return "Notice [noticeId=" + noticeId + ", noticeTitle=" + noticeTitle + ", noticeContent=" + noticeContent
				+ ", noticeTime=" + noticeTime + ", uid=" + uid + ", status=" + status + ", user=" + user + "]";
	}


}
